﻿using System.Windows.Controls;
using JulMar.Windows.UI;
using MediaBrowser.Gui.MvvmUtils.UI;
using System;
using System.Windows.Media.Imaging;
using MediaBrowser.Gui.Tools;

namespace MediaBrowser.Gui.Views
{
    /// <summary>
    /// Logique d'interaction pour PageSettingsView.xaml
    /// </summary>
    public partial class PageBooksView : UserControl
    {
        public PageBooksView()
        {
            using (new CustomWaitCursor())
            {
                InitializeComponent();
            }
        }

        private void Image_SizeChanged(object sender, System.Windows.SizeChangedEventArgs e)
        {
            double x = (16 * e.NewSize.Width / 316);
            double y = (10 * e.NewSize.Height / 374);
            VBoxBook.Margin = new System.Windows.Thickness(x, y, x, y);
        }

    }
}
